package jtk.project4.fleet.event;

/*
* Author : Rio Dermawan 
* Date Created : 1-April-2011
* Date Modified : 6-April-2011
* Version : 1.1
* */

import java.util.List;

import nl.coderight.jazz.Event;
import jtk.project4.fleet.domain.Customers;
import jtk.project4.fleet.event.CustomerManagementEvent.CustomerManagementEventType;
public class CustomerManagementEvent extends Event<CustomerManagementEventType>{
	private List<Customers> customers;
	public enum CustomerManagementEventType{
		LOAD_SUCCESS, SAVE,
		FILTER, ADD, EDIT, DELETE, SUBMIT, CANCEL, SELECT, CHANGE, VIEW, CLOSE;
	}
	
	public CustomerManagementEvent(CustomerManagementEventType type){
		super(type);
	}

	public void setCustomers(List<Customers> customers) {
		this.customers = customers;
	}

	public List<Customers> getCustomers() {
		return customers;
	}
	
	
}